package com.itcast.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itcast.mapper.Admin1Mapper;
import com.itcast.mapper.AdminMapper;
import com.itcast.pojo.Admin;
import com.itcast.pojo.Admin1;
import com.itcast.service.Admin1service;
import com.itcast.service.Adminservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2020-06-19
 */
@Service("admin1service")
public class Admin1ServiceImpl extends ServiceImpl<Admin1Mapper, Admin1> implements Admin1service {

    @Autowired
    private Admin1Mapper admin1Mapper;

    @Override
    public List<Admin1> queryRoleByName(String adminName) {

        return admin1Mapper.queryRoleByName(adminName);
    }
}
